<?php
class Page {
	private $__config;
	private $modconfig;
	function __construct($config){
		$this->__config = &$config;
		$this->modconfig = $this->__config->get('UPDATE');
	}
	
	function __destruct(){
		 $_
	}
	
	public function toString(){
		header("Content-type: text/xml");
		$xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
			<API>
				<CONTENT APPVERSION=\"".$this->modconfig->get('APPVERSION')."\" APIVERSION=\"".$this->modconfig->get('APIVERSION')."\">".$this->modconfig->get('APPFILENAME')."</CONTENT>
			</API>";
		return $xml;
	}
}
?>